# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(NoteContabile)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(NoteContabile_SRCS notecontabileplugin.cpp notecontabile.cpp)
QT4_WRAP_CPP(NoteContabile_SRCS notecontabileplugin.h notecontabile.h)
QT4_WRAP_UI(NoteContabile_SRCS notecontabile.ui)
QT4_ADD_RESOURCES(NoteContabile_SRCS notecontabile.qrc)

add_library(NoteContabile SHARED ${NoteContabile_SRCS})
add_dependencies(NoteContabile KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(NoteContabile KontAMabil ${QT_LIBRARIES})

install(TARGETS NoteContabile ${INSTALL_PLUGINS_DEFAULT_ARGS})
